import request from '@/utils/request'

// 查询产废口信息列表
export function listCfkInfo(query) {
  return request({
    url: '/solidProdution/cfkInfo/list',
    method: 'get',
    params: query
  })
}

// 查询产废口信息详细
export function getCfkInfo(cfkId) {
  return request({
    url: '/solidProdution/cfkInfo/' + cfkId,
    method: 'get'
  })
}

// 新增产废口信息
export function addCfkInfo(data) {
  return request({
    url: '/solidProdution/cfkInfo',
    method: 'post',
    data: data
  })
}

// 修改产废口信息
export function updateCfkInfo(data) {
  return request({
    url: '/solidProdution/cfkInfo',
    method: 'put',
    data: data
  })
}

// 删除产废口信息
export function delCfkInfo(cfkId) {
  return request({
    url: '/solidProdution/cfkInfo/' + cfkId,
    method: 'delete'
  })
}

// 导出产废口信息
export function exportCfkInfo(query) {
  return request({
    url: '/solidProdution/cfkInfo/export',
    method: 'get',
    params: query
  })
}